package com.sheep.classroompie.entity;

public class Question {
  private int questionId; //题号
  private String topic; // 题目
  private String difficulty; //难度
  private String answer; // 答案

  public Question(int questionId, String topic, String difficulty, String answer) {
    this.questionId = questionId;
    this.topic = topic;
    this.difficulty = difficulty;
    this.answer = answer;
  }

  public int getQuestionId() {
    return questionId;
  }

  public void setQuestionId(int questionId) {
    this.questionId = questionId;
  }

  public String getTopic() {
    return topic;
  }

  public void setTopic(String topic) {
    this.topic = topic;
  }

  public String getDifficulty() {
    return difficulty;
  }

  public void setDifficulty(String difficulty) {
    this.difficulty = difficulty;
  }

  public String getAnswer() {
    return answer;
  }

  public void setAnswer(String answer) {
    this.answer = answer;
  }
}
